import { Module } from 'vuex';
import { IState } from '@/app/state';
import { {{ properCase moduleName }}DefaultState, I{{ properCase moduleName }}State } from './state';
import { {{ properCase moduleName }}Actions } from './actions';
import { {{ properCase moduleName }}Getters } from './getters';
import { {{ properCase moduleName }}Mutations } from './mutations';

export const {{ properCase moduleName }}Module: Module<I{{ properCase moduleName }}State, IState> = {
  namespaced: true,
  actions: {
    ...{{ properCase moduleName }}Actions,
  },
  getters: {
    ...{{ properCase moduleName }}Getters,
  },
  state: {
    ...{{ properCase moduleName }}DefaultState(),
  },
  mutations: {
    ...{{ properCase moduleName }}Mutations,
  },
};
